package com.example.mysmall.mvp_rajava.injector.modules;


import com.example.mysmall.mvp_rajava.ui.modules.home.HomeFragment;

import dagger.Module;
import dagger.Provides;

/**
 * Created by xingge on 2017/8/15.
 */
@Module
public class HomeModule {

    private HomeFragment homeFragment;
    public HomeModule(HomeFragment homeFragment){
        this.homeFragment = homeFragment;
    }

    @Provides
    HomeFragment provideHomeFragment(){
        return homeFragment;
    }
//    @Provides
//    HomePresenter provideHomePresenter(){
//        return new HomePresenter(homeFragment);
//    }

}
